List of parameters usable in all generic goals / liste des paramètres utilisables dans toutes les tâches :

buildingtag (string (case-insensitive)):
Tag a building must have for action to be possible. If absent, then the villager's house is used.
Tag désignant le bâtiment à utiliser. Si cette valeur est absente, c'est la maison du villageois.

townhallgoal (boolean):
If true, this goal happens in the central building.
Si vrai ('true'), ce but se passe dans le bâtiment central.
Default value: false

requiredtag (string (case-insensitive)):
Extra tag required for the destination to be valid.
Tag sur la destination nécéssaire à la réalisation de l'action.

priority (integer value):
The goal's priority. The higher it is the more likely villagers will pick it.
La priorité de la tâche. Plus elle est haute plus les villageois choisiront cette tâche.
Default value: 50

priorityrandom (integer value):
A random value between 0 and this to add to the goal's priority.
Une valeur aléatoire entre 0 et ce paramètre à ajouter à la priorité.
Default value: 10

maxsimultaneousinbuilding (integer value):
No more than X villagers doing this goal in the same building at the same time.
Pas plus de X villageois fesant ce but dans le même bâtiment en même temps.
Default value: 0

maxsimultaneoustotal (integer value):
No more than X villagers doing this goal at the same time.
Pas plus de X villageois faisant ce but en même temps.
Default value: 0

reoccurdelay (milliseconds):
Duration in ms before the action can reoccur.
Durée en ms avant que l'action puisse se répéter.
Default value: 0

minimumhour (integer value):
Time of the day before which the goal can't be taken, in ticks (6000 for noon for example).
Heure du jour avant laquelle la tâche ne peut pas être choisie (6000 pour midi par exemple).

maximumhour (integer value):
Time of the day after which the goal can't be taken, in ticks (6000 for noon for example).
Heure du jour après laquelle la tâche ne peut pas être choisie (6000 pour midi par exemple).

buildinglimit (item and number: 'bone,8'):
If more than that number of item is present in the building, stop goal.
S'il y a plus d'objets dans le bâtiment que ça, arrêter le but.

townhalllimit (item and number: 'bone,8'):
If more than that number of item is present in the town hall, stop goal.
S'il y a plus d'objets dans le bâtiment central que ça, arrêter le but.

villagelimit (item and number: 'bone,8'):
If more than that number of item is present in the village, stop goal.
S'il y a plus d'objets dans le village que ça, arrêter le but.

itemsbalance (pair of items: 'stone,sand'):
Pair of items whose quantity to balance in the TH. If there are more of the second than the first, the goal won't trigger.
Pair d'objets dont les quantités doivent être équilibrées dans le bâtiment central. S'il y a plus du second que du premier, le but est arrêté.

duration (milliseconds):
Duration in ms of the action. 2000 by default.
Durée en ms de l'action. 2000 by default.

sound (string (case-insensitive)):
Sound to play when the goal is performed (metal, wool...).
Son à jouer quand la tâche est accomplie (metal, wool...).

allowrandommoves (boolean):
If true, the villager can move 'randomly' after reaching the destination.
Si vrai, le villageois peut bouger 'aléatoirement' après avoir atteint sa destination.
Default value: false

holdweapons (boolean):
If true, the villager will hold his best weapon while doing this goal.
Si vrai, le villageois tiendra sa meilleure arme pendant la tâche.
Default value: false

range (integer value):
Range from destination from which the goal is doable.
Distance de ladestination à laquelle la tâche peut s'accomplir.
Default value: 3

lookatgoal (boolean):
Whether the villager should look at the goal's destination. True or false by default depanding on the generic goal.
Si vrai, le villagois regardera la cible de la tâche. Vrai ou non par défault suivant les tâches.
Default value: false

sentencekey (string (case-insensitive)):
Specify if the sentences for this goal is not the name of the goal itself.
Spécifier si les phrases pour ce but n'ont pas le code du but lui-même.

labelkey (string (case-insensitive)):
Specify if the label for this goal is not the name of the goal itself.
Spécifier si l'étiquette pour ce but n'ont pas le code du but lui-même.

helditems (list of items: 'chickenmeat,chickenmeatcooked'):
Items held by the villager, including when travelling.
Objets tenus par le villageois, y compris sur la route.

helditemsoffhand (list of items: 'chickenmeat,chickenmeatcooked'):
Items held by the villager in his off hand, including when travelling.
Objets tenus par le villageois dans sa main faible, y compris sur la route.

helditemsdestination (list of items: 'chickenmeat,chickenmeatcooked'):
Items held by the villager, at destination only.
Objets tenus par le villageois, uniquement à destination.

helditemsoffhanddestination (list of items: 'chickenmeat,chickenmeatcooked'):
Items held by the villager in his off hand, at destination only.
Objets tenus par le villageois dans sa main faible, uniquement à destination.

leasure (boolean):
If true, this is a leisure activity that can be interrupted by other goals. False by default.
Si vrai, c'est une tâche de loisir qui peut être interrompue par d'autres tâches. Faux par défaut.

tag (string (case-insensitive, multiple parameters possible)):
A tag to use when refering to the goal elsewhere, such as in generic visit targetting. Has no effects on the goal itself.

